package com.zhoug.ocr.textin.data;


import com.zhoug.common.beans.BaseBean;

import java.util.List;

/**
 * 增值税发票识别结果
 * @Author: zhoug
 * @Date: 2023/2/21
 * @Description:
 */
public class VatInvoiceResult extends BaseBean {
    private String image_angle;
    private String type_description;//增值税电子普通发票
    private String kind;//raiment
    private String kind_description;//服饰
    private String type;//vat_electronic_invoice

    private List<List<Product>> product_list;
    private List<Item> item_list;
    //私有化部署
    private List<VatInvoiceResult> object_list;

    public String getImage_angle() {
        return image_angle;
    }

    public void setImage_angle(String image_angle) {
        this.image_angle = image_angle;
    }

    public String getType_description() {
        return type_description;
    }

    public void setType_description(String type_description) {
        this.type_description = type_description;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public String getKind_description() {
        return kind_description;
    }

    public void setKind_description(String kind_description) {
        this.kind_description = kind_description;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<List<Product>> getProduct_list() {
        return product_list;
    }

    public void setProduct_list(List<List<Product>> product_list) {
        this.product_list = product_list;
    }

    public List<Item> getItem_list() {
        return item_list;
    }

    public void setItem_list(List<Item> item_list) {
        this.item_list = item_list;
    }

    public List<VatInvoiceResult> getObject_list() {
        return object_list;
    }

    public void setObject_list(List<VatInvoiceResult> object_list) {
        this.object_list = object_list;
    }

    public static final class Product extends BaseBean{
        private String key;//vat_invoice_goods
        private String value;//服装*安踏男款运动T恤时尚修身短袖针织衫男士经典款休闲短T
        private String description;//货物或服务名称

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }
    }


    public static final class Item extends BaseBean{
        private String value;//True
        private String description;//发票专用章存在性判断
        private String key;//exist_invoice_seal
        private String confidence;//1

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

        public String getConfidence() {
            return confidence;
        }

        public void setConfidence(String confidence) {
            this.confidence = confidence;
        }
    }

}
